package com.uaf.vxalipaybill.provider.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @filename VxAlipayAnalysisRespBean.java
 * @description 微信支付宝账单解析响应
 * @author 马庆智
 * @date 2021/9/15 11:06
 */
public class VxAlipayAnalysisRespBean implements Serializable {

	private static final long serialVersionUID = -6336366894493579963L;
	/**主键ID*/
	private Integer analysisRespId;
	/**账单解析请求ID*/
	private String billAnalysisReqId;
	/**返回code*/
	private String respCode;
	/**返回消息*/
	private String respMsg;
	/**账单类型*/
	private String billType;
	/**账单编号*/
	private String billNo;
	/**姓名*/
	private String custName;
	/**身份证号*/
	private String certNo;
	/**微信ID或支付宝账号*/
	private String acctNo;
	/**交易开始日期(yyy-MM-dd hh:mm:ss)*/
	private String billDateFrm;
	/**交易截止日期(yyy-MM-dd hh:mm:ss)*/
	private String billDateTo;
	/**创建时间*/
	private Date createdDate;
	/**创建人*/
	private String createdBy;
	/**更新时间*/
	private Date updatedDate;
	/**更新人*/
	private String updatedBy;

	public Integer getAnalysisRespId() {
		return analysisRespId;
	}

	public void setAnalysisRespId(Integer analysisRespId) {
		this.analysisRespId = analysisRespId;
	}

	public String getBillAnalysisReqId() {
		return billAnalysisReqId;
	}

	public void setBillAnalysisReqId(String billAnalysisReqId) {
		this.billAnalysisReqId = billAnalysisReqId == null ? null : billAnalysisReqId.trim();
	}

	public String getRespCode() {
		return respCode;
	}

	public void setRespCode(String respCode) {
		this.respCode = respCode == null ? null : respCode.trim();
	}

	public String getRespMsg() {
		return respMsg;
	}

	public void setRespMsg(String respMsg) {
		this.respMsg = respMsg == null ? null : respMsg.trim();
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType == null ? null : billType.trim();
	}

	public String getBillNo() {
		return billNo;
	}

	public void setBillNo(String billNo) {
		this.billNo = billNo == null ? null : billNo.trim();
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName == null ? null : custName.trim();
	}

	public String getCertNo() {
		return certNo;
	}

	public void setCertNo(String certNo) {
		this.certNo = certNo == null ? null : certNo.trim();
	}

	public String getAcctNo() {
		return acctNo;
	}

	public void setAcctNo(String acctNo) {
		this.acctNo = acctNo == null ? null : acctNo.trim();
	}

	public String getBillDateFrm() {
		return billDateFrm;
	}

	public void setBillDateFrm(String billDateFrm) {
		this.billDateFrm = billDateFrm == null ? null : billDateFrm.trim();
	}

	public String getBillDateTo() {
		return billDateTo;
	}

	public void setBillDateTo(String billDateTo) {
		this.billDateTo = billDateTo == null ? null : billDateTo.trim();
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy == null ? null : createdBy.trim();
	}

	public Date getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy == null ? null : updatedBy.trim();
	}

	@Override
	public boolean equals(Object that) {
		if (this == that) {
			return true;
		}
		if (that == null) {
			return false;
		}
		if (getClass() != that.getClass()) {
			return false;
		}
		VxAlipayAnalysisRespBean other = (VxAlipayAnalysisRespBean) that;
		return (this.getAnalysisRespId() == null ?
				other.getAnalysisRespId() == null :
				this.getAnalysisRespId().equals(other.getAnalysisRespId())) && (this.getBillAnalysisReqId() == null ?
				other.getBillAnalysisReqId() == null :
				this.getBillAnalysisReqId().equals(other.getBillAnalysisReqId())) && (this.getRespCode() == null ?
				other.getRespCode() == null :
				this.getRespCode().equals(other.getRespCode())) && (this.getRespMsg() == null ?
				other.getRespMsg() == null :
				this.getRespMsg().equals(other.getRespMsg())) && (this.getBillType() == null ?
				other.getBillType() == null :
				this.getBillType().equals(other.getBillType())) && (this.getBillNo() == null ?
				other.getBillNo() == null :
				this.getBillNo().equals(other.getBillNo())) && (this.getCustName() == null ?
				other.getCustName() == null :
				this.getCustName().equals(other.getCustName())) && (this.getCertNo() == null ?
				other.getCertNo() == null :
				this.getCertNo().equals(other.getCertNo())) && (this.getAcctNo() == null ?
				other.getAcctNo() == null :
				this.getAcctNo().equals(other.getAcctNo())) && (this.getBillDateFrm() == null ?
				other.getBillDateFrm() == null :
				this.getBillDateFrm().equals(other.getBillDateFrm())) && (this.getBillDateTo() == null ?
				other.getBillDateTo() == null :
				this.getBillDateTo().equals(other.getBillDateTo())) && (this.getCreatedDate() == null ?
				other.getCreatedDate() == null :
				this.getCreatedDate().equals(other.getCreatedDate())) && (this.getCreatedBy() == null ?
				other.getCreatedBy() == null :
				this.getCreatedBy().equals(other.getCreatedBy())) && (this.getUpdatedDate() == null ?
				other.getUpdatedDate() == null :
				this.getUpdatedDate().equals(other.getUpdatedDate())) && (this.getUpdatedBy() == null ?
				other.getUpdatedBy() == null :
				this.getUpdatedBy().equals(other.getUpdatedBy()));
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((getAnalysisRespId() == null) ? 0 : getAnalysisRespId().hashCode());
		result = prime * result + ((getBillAnalysisReqId() == null) ? 0 : getBillAnalysisReqId().hashCode());
		result = prime * result + ((getRespCode() == null) ? 0 : getRespCode().hashCode());
		result = prime * result + ((getRespMsg() == null) ? 0 : getRespMsg().hashCode());
		result = prime * result + ((getBillType() == null) ? 0 : getBillType().hashCode());
		result = prime * result + ((getBillNo() == null) ? 0 : getBillNo().hashCode());
		result = prime * result + ((getCustName() == null) ? 0 : getCustName().hashCode());
		result = prime * result + ((getCertNo() == null) ? 0 : getCertNo().hashCode());
		result = prime * result + ((getAcctNo() == null) ? 0 : getAcctNo().hashCode());
		result = prime * result + ((getBillDateFrm() == null) ? 0 : getBillDateFrm().hashCode());
		result = prime * result + ((getBillDateTo() == null) ? 0 : getBillDateTo().hashCode());
		result = prime * result + ((getCreatedDate() == null) ? 0 : getCreatedDate().hashCode());
		result = prime * result + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode());
		result = prime * result + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode());
		result = prime * result + ((getUpdatedBy() == null) ? 0 : getUpdatedBy().hashCode());
		return result;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", analysisRespId=").append(analysisRespId);
		sb.append(", billAnalysisReqId=").append(billAnalysisReqId);
		sb.append(", respCode=").append(respCode);
		sb.append(", respMsg=").append(respMsg);
		sb.append(", billType=").append(billType);
		sb.append(", billNo=").append(billNo);
		sb.append(", custName=").append(custName);
		sb.append(", certNo=").append(certNo);
		sb.append(", acctNo=").append(acctNo);
		sb.append(", billDateFrm=").append(billDateFrm);
		sb.append(", billDateTo=").append(billDateTo);
		sb.append(", createdDate=").append(createdDate);
		sb.append(", createdBy=").append(createdBy);
		sb.append(", updatedDate=").append(updatedDate);
		sb.append(", updatedBy=").append(updatedBy);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}